package main

import (
	"fmt"
	`time`
)

type student struct {
	id int
	name string
}
func Tostu(stu *student) {
	fmt.Println(stu.name,stu.id);
}
func main() {
	s2 := student{313, "张三"}
	s1 := student{313, "张三"}
	Tostu(&s1)
	go func(stu *student) {
		fmt.Println(stu.name,stu.id);
	}(&s2)
	time.Sleep(time.Second)
}
